package factory;

/**
 * @Author: linKe
 * @Date: 2022/1/15 10:22
 * @FileName: Client
 * @version: 1.0
 * @Description: 工厂模式测试类
 */
public class Client {
    public static void main(String[] args) {
        PizzaStore store = new NewYorkPizzaStore();
        store.order("cheese");
        /*
            baking for 30 minutes
            cutting New York Cheese Pizza
            bioxing New York Cheese Pizza
            您的披萨做好了
         */
    }
}
